import { getRequest } from '../../api/movie'
import store from '../store'
export const getMovieListAction =  () => {
    return async () => {
        const re = await getRequest()
        store.dispatch(
            {
                type: 'getmovieListMsg',
                data: re.data.data.list
            }
        )
    }
}